package com.guigu.pd.auth.feign;

import com.guigu.pd.auth.entity.TruckDriverLicenseEntity;
import com.guigu.pd.base.entity.TruckDriverEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.math.BigDecimal;

@FeignClient(value = "pd-auth")
public interface AuthUserFeign {

    @PostMapping("base/truckdriverlicense/save")
    public void savedriverlicense(@RequestBody TruckDriverLicenseEntity truckDriverLicense);

    @PostMapping("base/truckdriver/save")
    public void savedriver(@RequestBody TruckDriverEntity truckDriver);
}
